package com.example.demo.service;

import com.example.demo.entity.SceneryOrder;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SceneryOrderService {
    /*
    添加购物车
   */
    public int add(SceneryOrder sceneryOrder);

    //分页查询所有订单
    public PageInfo<SceneryOrder> getPage(int pageNo, int pageSize);

    //根据用户ID查询当前用户的订单列表
    public List<SceneryOrder> getOrderByUserId(int userId) ;

    public int delete(int id) ;
}
